package com.cloudpivot.receivales;

import com.alibaba.fastjson.JSONObject;
import com.cloudpivot.receivales.contract.domain.crmcontract.CrmContract;
import com.cloudpivot.receivales.contract.service.ContractAffairsService;
import com.cloudpivot.receivales.contract.service.http.HttpAPIServiceForCrm;
import com.cloudpivot.receivales.excel.service.impl.SalePlanExcelServiceImpl;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.Map;

/**
 * coolapp推送测试
 */
@SpringBootTest
class CloudpivotApplicationExcelOutPut {

//    @Value("${myprops.crmurl}")
//    private String CRMAPI="http://172.17.100.193:5555/crm/api/data/v8.2/";

    @Autowired
    private SalePlanExcelServiceImpl salePlanExcelService;

    @Test
    public void test1() {
        salePlanExcelService.handleAllData("2025-10-31","2025-10-31");
    }
}
